﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Portal.Nhibernate.Repository
{
    public class SettingRepository : Repository<ISetting>, ISettingRepository
    {
        #region Overrides of Repository<ISetting>

        public override ISetting CreateEntity()
        {
            return new Setting { Id = Guid.NewGuid().ToString(), CreateTime = DateTime.Now };
        }

        #endregion
    }
}
